/**
 * Created by CZ on 2017/5/3.
 */
module.exports = function ($scope,$rootScope,$localStorage,RequestService,commonConfig) {
    //获取token
    var token = $localStorage.get('cloud').token;
    $rootScope.isShowFooter = false;
    //获取应用类型
    RequestService.Request(commonConfig.cloudApi+'cloud/apptype','GET').then(function(res){
        console.log(res);
        $scope.AppTypeList = res;
    },function(error){
        console.log(error);
    });

};